{layout name="common/layout" /}
<style>

	.table tr td:nth-of-type(6){
		white-space: nowrap;
	}
	.table tr td:nth-of-type(7){
		white-space: nowrap;
	}
	.table tr td:nth-of-type(8){
		white-space: nowrap;
	}
	.table tr td:nth-of-type(9){
		white-space: nowrap;
	}
	.table tr td:nth-of-type(10){
		white-space: nowrap;
	}
	.table tr td:nth-of-type(11){
		white-space: nowrap;
	}
	.table tr td:nth-of-type(12){
		white-space: nowrap;
	}
	.table tr:nth-of-type(odd){
		background: #f6f6f6;
	}
</style>
<div class="Hui-article-box" style="margin-top: 37px;">
	<div class="newCrumbs ">结算账单

	</div>
	<div class="Hui-article">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox-title">
					<h5>筛选条件</h5>
				</div>
				<div class="ibox-content">
					<form action="" class="form-horizontal clearfix">
						<div class="form-group col-sm-6 col-md-5 col-lg-5">
							<label class="font-normal">时间：</label>
							<div class="col-sm-12 no-padding">
								<div class="col-sm-5 col-md-5 no-padding">
									<input type="text" style="width:140px;" id="enterprise_license_reg_time" name="time" class="input-text radius size-M form-control" onClick="WdatePicker()" value="{$search.time ? $search.time : ''}"/>
								</div>
							</div>
						</div>
						<div class="form-group col-sm-4 col-md-3 col-lg-2">
							<label class="font-normal">&nbsp;</label>
							<div class="clearfix">
								<button type="submit" class="btn btn-primary"><i class="fa fa-search"></i> 搜索</button>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
		<table class="table table-border table-bg  table-bordered">
			<tr class="text-c first-tr">
				<td  width="11%">订单号</td>
				<td  width="12%">确认收货时间</td>
				<td  width="13%">商品名称</td>
				<td  width="12%">租赁时间</td>
				<td  width="12%">结算时间</td>
				<td  width="5%">租金</td>
				<td  width="5%">违约金</td>
				<td  width="5%">损失赔偿金</td>
				<td  width="5%">运费</td>
				<td  width="3%">费率</td>
				<td  width="5%">拥金</td>
				<td  width="3%">退货</td>
				<td  width="9%">合计金额</td>
			</tr>
			{volist name="$data" id="bill" key="k"}
			<tr class="text-c">
				<td>{$bill.order_sn}</td>
				<td>{$bill.delivery_time|date="Y-m-d H:i:s",###}</td>
				<td>{$bill.goods_name}</td>
				<td>{$bill.rent_time|date="Y-m-d",###}</br>至</br>{$bill.return_time|date="Y-m-d",###}</td>
				<td>
					{if condition="$bill.confirm_time neq '0'"}
					{$bill.confirm_time|date="Y-m-d H:i:s",###}
					{/if}
				</td>
				<td>{$bill.rent_money}</td>
				<td>{$bill.liquidated_money}</td>
				<td>{$bill.damages_money}</td>
				<td>{$bill.freight_money}</td>
				<td>{$bill.rate}%</td>
				<td>{$bill.commission}</td>
				<td>{$bill.is_refund ? '是' : '否'}</td>
				<td>{$bill.total_money}</td>

			</tr>
			{/volist}
		</table>
		<div class="cl" style="width: 1000px;margin:0 auto;">
			{$data->render()}
		</div>
	</div>
</div>

<script>
	$(function(){
		$.Huitab("#tab_demo .tabBar span","#tab_demo .tabCon","current","click","0")});
	var GG = {
		"kk":function(mm){
			var ym=mm;
		}
	}
	$("#paginate").initPage(71,1,GG.kk);

</script>
 
